import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 核价记录*/
// 创建
export const quotationNuclearPriceRecordCreate = (data) => postRequest('/quotation/nuclear-price-record/create', data);

// 更新
export const quotationNuclearPriceRecordUpdate = (data) => putRequest('/quotation/nuclear-price-record/update', data);

// 删除
export const quotationNuclearPriceRecordDelete = (params) => deleteRequest('/quotation/nuclear-price-record/delete', params);

// 获得
export const quotationNuclearPriceRecordGet = (params) => getRequest('/quotation/nuclear-price-record/get', params);

// 分页
export const quotationNuclearPriceRecordPage = (params) => postRequest('/quotation/nuclear-price-record/page', params);

// 导出 Excel
export const quotationNuclearPriceRecordExportExcel = (params) => getRequest('/quotation/nuclear-price-record/export-excel', params);
export const quotationNuclearPriceRecordUpdateAuditState = (data) => postRequest('/quotation/nuclear-price-record/update-audit-state', data);

export const quotationNuclearPriceRecordCount = (params) => getRequest('/quotation/nuclear-price-record/count', params);
export const quotationNuclearPriceRecordWeeksCount = (params) => getRequest('/quotation/nuclear-price-record/weeks-count', params);

// 通知类型枚举
export const quotationNuclearPriceRecordGetType = (params) => getRequest('/quotation/nuclear-price-record/get-type', params);
